/**
 * Copyright &copy; 2015-2020 <a href="http://www.jeeplus.org/">JeePlus</a> All rights reserved.
 */
package com.jeeplus.modules.web.entity.wx;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;

import com.jeeplus.core.persistence.DataEntity;
import com.jeeplus.common.utils.excel.annotation.ExcelField;

/**
 * 订单评论Entity
 * @author rongjie
 * @version 2017-08-30
 */
public class WxOrderComment extends DataEntity<WxOrderComment> {
	
	private static final long serialVersionUID = 1L;
	private String number;		// 订单号
	private String light;		// 灯光
	private String purification;		// 净化
	private String noise;		// 噪音
	private String text;		// 内容
	private Date time;		// 时间
	
	public WxOrderComment() {
		super();
		this.setIdType(IDTYPE_AUTO);
	}

	public WxOrderComment(String id){
		super(id);
	}

	@ExcelField(title="订单号", align=2, sort=1)
	public String getNumber() {
		return number;
	}

	public void setNumber(String number) {
		this.number = number;
	}
	
	@ExcelField(title="灯光", align=2, sort=2)
	public String getLight() {
		return light;
	}

	public void setLight(String light) {
		this.light = light;
	}
	
	@ExcelField(title="净化", align=2, sort=3)
	public String getPurification() {
		return purification;
	}

	public void setPurification(String purification) {
		this.purification = purification;
	}
	
	@ExcelField(title="噪音", align=2, sort=4)
	public String getNoise() {
		return noise;
	}

	public void setNoise(String noise) {
		this.noise = noise;
	}
	
	@ExcelField(title="内容", align=2, sort=5)
	public String getText() {
		return text;
	}

	public void setText(String text) {
		this.text = text;
	}
	
	@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
	@ExcelField(title="时间", align=2, sort=6)
	public Date getTime() {
		return time;
	}

	public void setTime(Date time) {
		this.time = time;
	}
	
}